package com.share.device.feign;

import com.share.common.core.domain.R;
import com.share.device.feign.fallback.FeeRuleServiceFallback;
import com.share.rule.domain.FeeRule;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient(value = "share-rule",fallback = FeeRuleServiceFallback.class)
public interface FeeRuleFeignService {

    @GetMapping("/feeRule/getALLFeeRuleList")
    R<List<FeeRule>> getALLFeeRuleList();
}
